<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@include('layouts.common.head')
<!-- Fonts -->
    <!-- Styles -->
    <link href="{{ asset('static/css/home/base.css') }}?v=<?php echo time() ?>" rel="stylesheet">
    <link href="{{asset('static/css/common.css')}}" rel="stylesheet" type="text/css">
    <link href="{{asset('static/css/resume/resume.css')}}?v=<?php echo time()?>" rel="stylesheet" type="text/css">
</head>
<body class="resume_bg_c">

<div class="app">
    @include('layouts.nav')
    @include('home.other_top_nav')
    <div class="yun_resume_content">
        <div class="mt20">
            <div class="yun_resume_left">
                <div class="yun_resume_box">
                    <div class="yun_resume_photo">
                        @if($resume->sex  == 1)
                            <img src="{{asset("static/images/data/15366672338.png")}}" width="120" height="120">
                        @elseif($resume->sex  == 2)
                            <img src="{{asset('static/images/data/15352996913.png')}}" width="120" height="120">
                        @endif
                        <i class="resume_list_xb resume_list_xb resume_list_xb_nv"></i>
                    </div>
                    <!--基本信息-->
                    <div class="yun_resume_info">
                            <span class="yun_resume_info_time">
								更新：{{date('Y-m-d H:i:s',$resume->refresh_time)}}&nbsp;&nbsp; &nbsp;
								被浏览：{{$resume->click}}次
							</span>
                        <div class="yun_resume_name">
                            {{$resume->nickname}} <span class="yun_resume_in">
								( <?php echo date('Y') - $resume->birth?>岁 ,	  @if($resume->sex  == 1)男@elseif($resume->sex  == 2)女@endif<span class="yun_resume_info_bh"></span> )
                                </span>

                        </div>


                        <div class="yun_resume_p">
                            <span class="yun_resume_infoname"> 工作经验：</span>
                            <span class="yun_resume_jy">{{$resume->experience_cn}}</span>
                        </div>

                        <div class="yun_resume_p">
                            <span class="yun_resume_infoname"> 基本资料：</span> {{$resume->education_cn}}学历
                        </div>

                        <div class="yun_resume_p">
                            <span class="yun_resume_infoname">现居住地：</span> {{$resume->house}}
                        </div>

                        <div class="yun_resume_tel">
                            <div class="one_vita_Basic_info_c"></div>
                        </div>

                    </div>

                    <!--联系方式-->
                    <span class="yun_resume_contact_tel"></span>
                    @if(isset($member->type) && $member->type != 2)
                        <span class="yun_resume_contact_tel_n">{{ $resume->telephone}}</span>
                        （已认证）</span>
                    @else
                        <span class="yun_resume_contact_tel_n">{{ substr_replace ($resume->telephone,'****',3,4)}}</span>
                        （已认证）</span>
                        <span class="yun_resume_contact_tel_look">企业才能查看联系方式哦！</span>
                    @endif


                </div>


                <div class="yun_resume_box" style="margin-top:20px; padding-top:0px;">

                    <!--求职意向-->
                    <div class="yun_resume_job_intention">
                        <div class="yun_resume_h1"><span class="yun_resume_h1_s"><i
                                        class="yun_resume_h1_icon yun_resume_h1_iconyx"></i>求职意向</span></div>
                        <ul class="yun_resume_job_intention_list ">
                            <li><span class="yun_resume_infoname"> 意向岗位：</span>{{$resume->intention_cn}}</li>
                            <li><span class="yun_resume_infoname"> 从事行业：</span>{{$resume->trade_cn}}</li>
                            <li><span class="yun_resume_infoname"> 工作地点：</span> {{$resume->district_cn}}&nbsp;</li>
                            <li><span class="yun_resume_infoname"> 期望薪资：</span>{{$resume->wage_cn}}</li>
                            <li><span class="yun_resume_infoname"> 求职状态：</span>{{$resume->current_cn}}</li>
                            <li><span class="yun_resume_infoname"> 工作性质：</span>不限</li>
                        </ul>
                    </div>

                {{--<!--工作经历-->--}}
                {{--<div class="yun_resume_joblist">--}}
                {{--<div class="yun_resume_h1">--}}
                {{--<span class="yun_resume_h1_s"><i--}}
                {{--class="yun_resume_h1_icon yun_resume_h1_iconjl"></i>工作经历</span>--}}
                {{--<span class="yun_resume_jobtime">平均工作时长：1年7个月</span>--}}
                {{--</div>--}}
                {{--<ul class="yun_resume_tabulation">--}}
                {{--<li class="yun_resume_exp_list">--}}
                {{--<div class="yun_resume_exp_timt">--}}
                {{--2017.01- 2018.07--}}
                {{--</div>--}}
                {{--<div class="yun_resume_exp_r">--}}
                {{--<div class="yun_resume_exp_name">力豪企业<span class="yun_resume_exp_name_job">前台</span>--}}
                {{--</div>--}}
                {{--<div class="yun_resume_exp_p">111</div>--}}
                {{--</div>--}}
                {{--</li>--}}
                {{--</ul>--}}
                {{--</div>--}}

                <!--教育经历-->

                    <!--培训经历-->

                    <!--专业技能-->

                    <!--项目经验-->

                    <!-- 我的作品-->

                    <!--附加信息-->

                    <!--自我评价-->


                    <!--客服评价分类-->
                    <div class="yun_resume_joblist yun_resume_joblist_mt20">
                        <div class="yun_resume_h1"><span class="yun_resume_h1_s"><i
                                        class="yun_resume_h1_icon yun_resume_h1_iconpj"></i>自我介绍</span></div>
                        <div style="text-indent:2em;float:left;color: #999;padding: 20px 0;font-size: 14px;line-height: 1.8;">
                            {{$resume->specialty}}
                        </div>
                        {{--<ul class="resume_skill">--}}
                        {{--<li class=""><i class="resume_skill_icon"></i>--}}
                        {{--<div class="yun_resume_exp_p">分类标签：正在找工作</div>--}}
                        {{--</li>--}}
                        {{--<li class=""><i class="resume_skill_icon"></i>--}}
                        {{--<div class="yun_resume_exp_p">客服评价：</div>--}}
                        {{--</li>--}}
                        {{--</ul>--}}
                    </div>

                    <!--粘贴简历-->

                </div>
            </div>

            <div class="yun_resume_cz  noprint" id="operation_box">
                {{--<input class="yun_resume_cz_a resume_apply" type="button"--}}
                {{--value="邀请面试 ">--}}

                <div class="">
                    <input class="yun_resume_cz_bth fl collect" type="button" data-id="{{$resume->id}}"
                           value="收藏">

                    <div class="yun_resume_cz_bth_xz_box">
                        @if(isSet($member) && $member->type = 1)
                            <input class="yun_resume_xz"
                                   onclick="window.location.href='{{url("resume/doc",[$resume->id])}}'" type="button"
                                   name="submit"
                                   value="下载 ">
                        @else
                            <input class="yun_resume_xz" onclick="disapperTooltip('remind', '只有企业用户，才可以下载！');"
                                   type="button"
                                   name="submit"
                                   value="下载 ">
                        @endif

                    </div>

                    {{--<input class="yun_resume_cz_bth  yun_resume_cz_bth_dy fl" type="button" onclick="dayin()"--}}
                    {{--value="打印 "--}}
                    {{--name="button">--}}
                    {{--<input class="yun_resume_cz_bth yun_resume_cz_bth_fx fr" type="button"--}}
                    {{--onclick="recommendInterval('19172','http://www.hr135.com/resume/c_resumeshare-id_1043366.html');"--}}
                    {{--value="分享" name="submit">--}}
                    <input type="hidden" value="1043366" id="eid">
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clear"></div>
<script type="text/javascript" src="{{asset('static/js/jquery.modal.userselectlayer.js')}}"></script>
<script type="text/javascript" src="{{asset('static/js/jquery.modal.dialog.js')}}"></script>
<script>
    var apply = '<div>1</div>';
    $('.resume_apply').click(function () {
        $(this).dialog({
            title: false,
            content: apply,
            footer: false,
            header: false,
            border: false,
            innerPadding: false,
            backdrop: true
        });
        //$('.J_reg_per_box input[name=mobile]').bind("keyup", check);
    });
    //收藏简历
    $(".collect").click(function () {
        var id = $(this).data('id');
        $.ajax({
            url: '{{url('resume/collect')}}',
            data: {id: id},
            dataType: 'json',
            success: function (r) {

                if (r.error === 1) {
                    disapperTooltip('remind', "已经收藏");
                    setTimeout(function () {
                        window.location.reload();
                    }, 1000)

                } else {
                    disapperTooltip('remind', r.msg);
                }
            }
        });
    })
</script>
@include('layouts.register')
@include('layouts.common.foot')
</body>
</html>